package org.lai.service;

import org.lai.pojo.PageResult;
import org.lai.pojo.Student;
import org.lai.pojo.StudentQueryParm;

import java.util.List;

public interface StudentService {
    /**
     * 分页查询
     * @param student
     * @return
     */
    PageResult<Student> getList(StudentQueryParm student);

    /**新增员工
     *
     * @param student
     */
    void addStudent(Student student);

    Student getById(Integer id);

    void updateStudent(Student student);

    void deleteById(Integer id);

    void updateStudent(Integer id, Integer score);
}
